var vm = new Vue({
	el: '#app',
	data: function() {
		return {

		};
	},
	methods: {

	},
	mounted: function() {
		this.$nextTick(function() {
			var _this = this;
			checkToken().then(function() {
				var token = localStorage.getItem('token');
				if(token != null) {
					token = JSON.parse(token);
					authAxios.defaults.headers.common['Authorization'] = token.token_type + ' ' + token.access_token;
				}
			}).then(function() {});
		});
	}
});